.nav-tabs {
	.nav-link {
		background: $nav-tabs-link-bg;
		color: $nav-tabs-link-color;
		border-radius: 0;
		border: 1px solid $border-color;
		padding: .75rem 1.5rem;
		@media (max-width: 767px) {
			padding: .75rem .5rem;
		}
	}
	.nav-item {
		&:first-child {
			.nav-link {
				border-radius: 4px 0 0 0;
			}	
		}
		&:last-child {
			.nav-link {
				border-radius: 0 4px 0 0;
			}
		}
	}
	&.nav-tabs-vertical {
		@extend .flex-column;
		border-bottom: 0;
		.nav-link {
			&.active {
				border-bottom-color: $border-color;
			}
		}
		.nav-item {
			&:first-child {
				.nav-link {
					border-radius: 4px 4px 0 0;
				}	
			}
			&:last-child {
				.nav-link {
					border-radius: 0 0 4px 4px;
				}
			}
		}
	}
	&.nav-tabs-vertical-custom {
		@extend .nav-tabs-vertical;
		background: $primary;
		border-radius: 4px;
		.nav-link {
			background: transparent;
			border-color: rgba($white, .2);
			color: lighten($primary, 30%);
			font-weight: 600;
			padding: 1.75rem;
			&.active {
				color: $white;
				border-color: rgba($white, .2);
				font-weight: 900;
			}
		}
	}
	&.nav-tabs-vertical-custom-2 {
		background: $nav-tabs-link-bg;
		border-radius: 4px;
		.nav-link {
			background: transparent;
			border-color: $border-color;
			color: $dark;
			font-weight: 600;
			border-left: none;
			padding: 1.75rem;
			&:first-child {
				border-top: none;
			}
			&.active {
				color: $dark;
				border-color: $border-color;
				background: $white;
				border-right: none;
			}
		}
	}
}

.nav-pills {
	border-bottom: 1px solid $border-color;
	padding-bottom: 1rem;
	.nav-link {
		border: 1px solid $border-color;
		padding: .5rem 1.75rem;
		@media (max-width: 767px) {
			padding: .5rem .5rem;
		}
	}
	.nav-item {
		margin-right: 1rem;
		@media (max-width: 767px) {
			margin-right: .5rem;
		}
	}
	&.nav-pills-vertical {
		@extend .flex-column;
		border-bottom: 0;
		.nav-item {
			margin-right: 0;
			margin-bottom: 1rem;
		}
	}
	&.nav-pills-custom {
		border-bottom: 0;
		.nav-link {
			border-radius: 20px;
			padding: .5rem 2.5rem;
			background: $nav-pills-custom-bg;
			color: $black;
			&.active {
				background: $danger;
				color: $white;
			}
		}
		.nav-item {
			margin-top: .875rem;
		}
	}
}

/* Pills color variations */
@each $color, $value in $theme-colors {
  .nav-pills-#{$color} {
    .nav-link {
			color: $value;
			&.active {
				background: $color;
			}
		}
  }
}


.tab-content {
	border: 1px solid $border-color;
	border-top: 0;
	padding: 1rem 1rem;
	text-align: justify;
	&.tab-content-vertical {
		border-top: 1px solid $border-color;
	}
	&.tab-content-vertical-custom {
		border: 0;
		padding-top: 0;
	}
	&.tab-content-vertical-custom-2 {
		border: 0;
		padding: 20px 0;
		img {
			width: 125px;
		}
	}
	&.tab-content-custom-pill {
		border: 0;
		padding-left: 0;
	}
}
.home-tab {
	font-family: $type1;
.nav-tabs {
	font-family: $type1;
	border-bottom: none;
	.rtl & {
		padding-right: 0;
	}
	.nav-item {
		background: transparent;
		.nav-link {
			font-style: normal;
			font-weight: 500;
			font-size: 13px;
			line-height: 18px;
			color: $tab-nav-color;
			padding: 12px 14px;
			border: none;
			border-right: 1px solid $border-color;
			font-family: $type1;
			background: transparent;
			@media (max-width:991px) {
			padding: 5px 4px;
			margin-bottom: 15px;
			}
				.rtl & {
					border-right: none;
					border-left: 1px solid $border-color;
				}
			&.active {
				background: transparent;
				color: $primary;
			}
		}
	}
}
.tab-content {
	padding: 24px 0;
	font-family: $type1;
	border: none;
}
}